package com.qf.controller;


import com.qf.service.MindfulnessService;

import com.qf.vo.R;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;


/**
 * 正念语句列表(Mindfulness)表控制层
 *
 */
@RestController
@RequestMapping("mindfulness")
@Tag(name = "正念语句模块")
public class MindfulnessController{
    /**
     * 服务对象
     */

    @Resource
    private MindfulnessService mindfulnessService;

    /**
     * 查询所有的正念语句
     * @return
     */
    @GetMapping("selectByAll")
    public R selectByAll(){

        return mindfulnessService.selectByAll();
    }




}

